OTP\Handler\Forms\MemberPressSingleCheckoutForm A

Total Complexity 53
Dependencies 9
Dependents 0
Total lines 275
Lines of code 188
Logical lines of code 111
Comment lines 3
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
miniorange_site_register_form()
A
50 11 27
checkIntegrity()
S
60 4 13
handleFormOptions()
S
60 3 13
handleForm()
S
60 3 12
validatePhoneNumberField()
S
63 3 10
getPhoneNumberSelector()
S
70 3 6
startVerificationProcess()
S
65 3 8
checkIntegrityAndValidateOTP()
S
60 2 13
miniorange_single_checkout_register_script()
S
60 2 12
isPhoneVerificationEnabled()
S
75 2 4
checkIfVerificationIsComplete()
S
68 2 8
checkIfOTPSent()
S
69 2 7
_processEmailAndStartOTPVerificationProcess()
S
69 2 6
_processPhoneAndStartOTPVerificationProcess()
S
68 2 6
_send_otp()
S
66 2 9
__construct()
S
60 1 13
setSessionAndStartOTPVerification()
S
74 1 4
moMRPgetphoneFieldId()
S
74 1 4
handle_post_verification()
S
80 1 3
handle_failed_verification()
S
80 1 3
validate_single_checkout_form()
S
78 1 4
unsetOTPSessionVariables()
S
79 1 3